

#ifndef __OS_INCLUDE_H__
#define __OS_INCLUDE_H__

#if defined(__FreeRTOS__)
#define SYSTEM_HZ   configTICK_RATE_HZ  // 1000
#elif defined(__RTT_OS__)
#include "rtthread.h"
#define SYSTEM_HZ   RT_TICK_PER_SECOND

#elif defined(__LINUX_OS__)

#else
#error os ?
#define SYSTEM_HZ   TIMER0_HZ 
//#define CUSTOM_TIMER1_HZ       10000 // 10K
#endif

#endif